/**
 * Created by Administrator on 2018/4/24 0024.
 */
$(function () {
    //立项审批
    $('.application-type1').on('click','tr',function () {
        //var text = $(this).find('.application-note').val();
        var text = $(this).find('.application-note').data('title');
        $('#AssetPackageEditing-approval-log').find('.modal-body-approval-div').find('pre').text(text);
        $('.modal_log_show').trigger('click');
    })

    //访问审批
    $('.application-type5').on('click','tr',function () {
        //var text = $(this).find('.application-note').val();
        var text = $(this).find('.application-note').data('title');
        $('#AssetPackageEditing-approval-log').find('.modal-body-approval-div').find('pre').text(text);
        $('.modal_log_show').trigger('click');
    })

    //关闭模态框
    $('#AssetPackageEditing-approval-log').on('click','.modal-footer',function () {
        $('#AssetPackageEditing-approval-log').find('.modal-header .close').trigger('click');
    })

})